package com.adv.ems.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("`t_user`")
public class UserDO extends BaseDO{
    @TableId(value = "`id`", type = IdType.AUTO)
    private java.lang.Long id;
    @TableField(value = "`nick`")
    private java.lang.String nick;
    @TableField(value = "`user_name`")
    private java.lang.String userName;
    @TableField(value = "`password`")
    private java.lang.String password;
    @TableField(value = "`role`")
    private java.lang.String role;
    @TableField(value = "`relate_subject`")
    private java.lang.String relateSubject;
}